<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>佩华花艺学校</title>
		<link href="<%=request.getContextPath()%>/css/black/style.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<div id="content">
			<div id="homeheader">
				<div class="user left" style="margin-top:102px;color:#404040;font-size:14px">
					<logic:notPresent name="userForm" scope="session">
					<a href="<%=request.getContextPath()%>/front/sch/user/login.jsp">登录</a>|<a href="<%=request.getContextPath()%>/front/sch/user/register.jsp">注册</a>
					</logic:notPresent>
					<logic:present name="userForm" scope="session">
						欢迎你，${userForm.userName}
						<!-- &nbsp;&nbsp;<a href="<%=request.getContextPath()%>/front/shop/cart.do?method=myCart" style="text-decoration:underline;">购物车</a> -->
						&nbsp;&nbsp;<a href="<%=request.getContextPath()%>/front/sch/user.do?method=logout" style="text-decoration:underline;">退 出</a>
					</logic:present>
				</div>
			</div>
			<jsp:include page="/front/layout/nav.jsp"></jsp:include>
			<div id="homemain">
				${sch_brief_intro}
			</div>
			<div id="contact"></div>
			<jsp:include page="/front/layout/index_contact.jsp"></jsp:include>
		</div>
	</body>
</html>